AddCheckPointUserRecord

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > AddCheckPointUserRecord

## AddCheckPointUserRecord

The AddCheckPointUserRecord function will add a CheckPoint User to the database.

###### Syntax

TRecordResponse * AddCheckPointUserRecord( TCheckPointUserRecord * ACheckPointUserRecord, BSTR ASessionID ) ;

###### Parameters

ACheckPointUserRecord

[IN] This is a TCheckPointSNSerialRecord class which contains the user information that would be entered into the CheckPoint Database. The fields of interest are:

- CheckPointUserName- The User name for the CheckPoint User

- IsAdministrator- defines if the new user will be an administrator

- Password- the password the user has entered

- PrimaryEMail- the email address of the new user.

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

It should be noted that CheckPoint Users are NOT end users. CheckPoint users are developers, affiliates, employees, or any other users who may need to manipulate the CheckPoint Database.

Only CheckPoint administrators are allowed to use this function.

###### Return Value

Returns the custom class TRecordResponse. The fields of interest that is related to this method are:

- Success- This will return true if the function was successful, otherwise returns false

- PrimaryKeyValue- This is will contain the UserID that is assigned to the new user.

- ErrorMessage- If an error occurred, this field will contain the associated message to the error.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"